add vertex at intersection